package com.sidom.movieIndexer.service.google;

import java.util.List;

import com.sidom.movieIndexer.domain.Movie;
import com.sidom.movieIndexer.domain.google.GoogleSearchResult;

/**
 * The high-level File business interface.
 *
 * <p>This services will do the interaction with google search.
 * <p>Google search is only accessible using the ajax api.
 *
 * @author Siebe
 */
public interface GoogleSearchService {
	/**
	 * Sets the IMDB url for every movie in the {@link List} of {@link Movie}s.
	 * @param movies A {@link List} of {@link Movie}s
	 * @return A {@link List} of {@link Movie}s with {@link GoogleSearchResult} information filled in.
	 */
	List<Movie> addImdbLinks(List<Movie> movies);
}
